package com.e2oto.seller.modules.seller.bean;

import java.util.List;

/**
 * Created by ZhangLiQiang on 2017/11/28.
 */

public class GoodsCategoryBean {

    /**
     * goods : [{"goods_id":91,"name":"1","category_ids":"70,23,25","market_price":"1.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/27/5a1bb8d23c714872593.png","store_nums":1000,"is_del":3,"sell_price":"1.00"},{"goods_id":106,"name":"1","category_ids":"69,23,25","market_price":"1.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/27/5a1bc6c4699e3147648.png","store_nums":100,"is_del":3,"sell_price":"11.00"},{"goods_id":110,"name":"1","category_ids":"69,23,25","market_price":"1.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/27/5a1bca7f89ea5655969.png","store_nums":11,"is_del":3,"sell_price":"11.00"},{"goods_id":113,"name":"嘿哈","category_ids":"70,23,25","market_price":"10.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/27/5a1bce861a434537279.png","store_nums":100,"is_del":3,"sell_price":"100.00"},{"goods_id":130,"name":"sf","category_ids":"69,23,25","market_price":"12.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/28/5a1cd591a5fa5317381.png","store_nums":11,"is_del":3,"sell_price":"1.00"},{"goods_id":134,"name":"第三方","category_ids":"70,23,25","market_price":"1.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/28/5a1cd8f930b20996164.png","store_nums":111,"is_del":3,"sell_price":"1.00"},{"goods_id":141,"name":"玩儿","category_ids":"69,23,25","market_price":"11.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/28/5a1cfb55198c3168102.png","store_nums":111,"is_del":3,"sell_price":"1.00"},{"goods_id":152,"name":"w发","category_ids":"69,23,25","market_price":"1.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/28/5a1d0b13c5407878351.png","store_nums":1111,"is_del":3,"sell_price":"1.00"},{"goods_id":163,"name":"大概","category_ids":"69,23,25","market_price":"1.00","cover":"http://39.108.0.85/zhapi/public/upload/2017/11/28/5a1d128cc2e54243538.png","store_nums":11,"is_del":3,"sell_price":"1.00"}]
     * category_name : 蔬菜
     */

    private String category_name;
    private List<GoodsBean> goods;

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name;
    }

    public List<GoodsBean> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsBean> goods) {
        this.goods = goods;
    }

    public static class GoodsBean {
        /**
         * goods_id : 91
         * name : 1
         * category_ids : 70,23,25
         * market_price : 1.00
         * cover : http://39.108.0.85/zhapi/public/upload/2017/11/27/5a1bb8d23c714872593.png
         * store_nums : 1000
         * is_del : 3
         * sell_price : 1.00
         */

        private int goods_id;
        private String name;
        private String category_ids;
        private String market_price;
        private String cover;
        private int store_nums;
        private int is_del;
        private String sell_price;
        private boolean isSelected;//这个字段不是服务器返回的 是本地用来判断显示的
        private boolean isShowSelected;//这个字段不是服务器返回的 是本地用来判断显示的

        public boolean isShowSelected() {
            return isShowSelected;
        }

        public void setShowSelected(boolean showSelected) {
            isShowSelected = showSelected;
        }

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCategory_ids() {
            return category_ids;
        }

        public void setCategory_ids(String category_ids) {
            this.category_ids = category_ids;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public int getStore_nums() {
            return store_nums;
        }

        public void setStore_nums(int store_nums) {
            this.store_nums = store_nums;
        }

        public int getIs_del() {
            return is_del;
        }

        public void setIs_del(int is_del) {
            this.is_del = is_del;
        }

        public String getSell_price() {
            return sell_price;
        }

        public void setSell_price(String sell_price) {
            this.sell_price = sell_price;
        }
    }
}
